package com.googlecode.sqldatagenerator.exception;

import java.text.ParseException;

public class SqlParseException extends ParseException {

    private static final long serialVersionUID = 4250184119426921695L;

    private long lineNumber;
    
    private long columnNumber;
    
    private String sql;
    
    public SqlParseException(String message, int lineNumber, int columnNumber, int errorOffset) {
        super(message, errorOffset);
        this.lineNumber = lineNumber;
        this.columnNumber = columnNumber;
    }

    public long getLineNumber() {
        return lineNumber;
    }

    public void setLineNumber(long lineNumber) {
        this.lineNumber = lineNumber;
    }

    public long getColumnNumber() {
        return columnNumber;
    }

    public void setColumnNumber(long columnNumber) {
        this.columnNumber = columnNumber;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
    
}
